				<div class="sidebar" id="sidebar">
					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
					</script>

					<div class="sidebar-shortcuts" id="sidebar-shortcuts">
						<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
							<span class="btn btn-success"></span>

							<span class="btn btn-info"></span>

							<span class="btn btn-warning"></span>

							<span class="btn btn-danger"></span>
						</div>
					</div><!-- #sidebar-shortcuts -->

					<ul class="nav nav-list">


						<?php $flag = 0;$i=0; ?>
						{volist name="menuInfo" id="vo"}
							{if condition="$vo.level eq 1"}
								<?php 
									foreach ($menuInfo as $v) {
										if ($v['pid'] == $vo['id']) {
											$flag++;
										}
									}
								?>
									<?php if ($flag != 0): ?>
									<li>
										<a href="#" class="dropdown-toggle">
											{$vo.icon}
											<span class="menu-text"> {$vo.name} </span>

											<b class="arrow icon-angle-down"></b>
										</a>
									<?php else: ?>
										<?php if (unhump(request()->controller()) == $vo['controller']): ?>
											<li class="open">
										<?php else: ?>
											<li>
										<?php endif; ?>
										<a href="{:url($vo.controller.'/'.$vo.method)}">
											{$vo.icon}
											<span class="menu-text"> {$vo.name} </span>
										</a>
									<?php endif; ?>
									{if condition="$flag neq 0"}
										<ul class="submenu"
											<?php
												foreach ($menuInfo as $val) {
													if($val['pid'] == $vo['id']) {
														if (unhump(request()->controller()) == $val['controller']) {
															echo 'style="display:block"';
														}
													}
												}
											?>
										>
											{volist name="menuInfo" id="vo2"}
												{if condition="$vo2.pid eq $vo.id"}
													<li <?php if (unhump(request()->controller()) == $vo2['controller']): ?> class="active" <?php endif; ?> >
														<a href="{:url($vo2.controller.'/'.$vo2.method)}">
															{$vo2.name}
														</a>
													</li>
												{/if}
											{/volist}
										</ul>
									{/if}
								</li>
							{/if}
						{/volist}
					</ul><!-- /.nav-list -->

					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>

					<script type="text/javascript">
						try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
					</script>
				</div>